package com.ryan.day02.demo01;

import java.util.Random;

public class DemoRandom {
    public static void main(String[] args) {
        Random r = new Random();
        int i = r.nextInt();
        System.out.println("随机数是"+i);
    }
}
